﻿#ifndef CONFIG_MANAGER_H
#define CONFIG_MANAGER_H

#include <QObject>
#include <QSettings>
#define LEFT_BAR_LOCAL_CACHE_NAME QString("pages")
class ConfigManager : public QObject
{
    Q_OBJECT
public:
    static ConfigManager *instance();
    QString getConfigPath();
    QSettings *settings();

private:
    explicit ConfigManager(QObject *parent = nullptr);
    static ConfigManager *_pInstance;
    QSettings *m_winInfoConfig = nullptr;
};

#endif // CONFIG_MANAGER_H
